package com.boot.proofing.mpweb.base.service;/**
 * @description
 * @autor xbwu on 2018/5/25.
 */

import com.boot.core.service.BaseMPService;
import com.boot.proofing.mpweb.base.entity.DataDictionary;

/**
 * 数据字典服务
 * @author xbwu
 * @create 2018-12-5
 **/
public interface IDataDictionaryService extends BaseMPService<DataDictionary> {
    /**
     * 根据key获取value
     * @param key
     * @return
     */
    String getValue(String key);

    /**
     * 根据key获取字典
     * @param key
     * @return
     */
    DataDictionary getByKey(String key);

}